/*****************************************************************************
* | File      	:   EPD_2in9b_Z94_Grey.h
GDEY029Z94
SSD1680A
******************************************************************************/
#ifndef __EPD_2IN9B_Z94_Grey_H_
#define __EPD_2IN9B_Z94_Grey_H_

#include "../DEV_Config.h"

// Display resolution
#define EPD_2IN9B_Z94_Grey_WIDTH       128
#define EPD_2IN9B_Z94_Grey_HEIGHT      296


#define EPD_2IN9B_Grey_FULL 0
#define EPD_2IN9B_Grey_PART 1

#define EPD_2IN9B_Grey_Bwr4   2
#define EPD_2IN9B_Grey_Bwr8   3
#define EPD_2IN9B_Grey_Bwr16  4


// typedef enum
// {
//   FULL = 0,
//   Grey4_Bwr,
//   Grey8_Bwr,
//   Grey16_Bwr,
// } LUT_TYPE;



void EPD_2IN9B_Z94_Grey_Init(uint8_t lut_type=EPD_2IN9B_Grey_FULL);
void EPD_2IN9B_Z94_Grey_Clear(void);
void EPD_2IN9B_Z94_Grey_Display( unsigned char *BW_Image, unsigned char *R_Image);
void EPD_2IN9B_Z94_Grey_Sleep(void);
void EPD_2IN9B_Z94_Grey_TurnOnDisplay(uint8_t part=EPD_2IN9B_Grey_FULL);
void EPD_2IN9B_Z94_Grey_Data_Write(UBYTE color,UBYTE *Image_Data,UDOUBLE index,UDOUBLE length);
void EPD_2IN9B_Z94_Grey_setDepth(uint8_t i);
// void EPD_2IN9B_Z94_Grey_Fast_TurnOnDisplay(void);
int8_t EPD_2IN9B_Z94_Grey_ReadTemp();
#endif
